
package org.masterinftel.scrumpmt.json.model;

import java.sql.Date;
import java.util.List;

public class Task {

    private long id;
    private String description;
    private String member;
    private int position;
    private boolean selected;
    private int esfuerzo;
    private Date fecini;
    private Date fecfin;
    private List<EsfuerzoJSON> esfuerzosList;
    
    public Task(long id, String description, String member, List<EsfuerzoJSON> le) {
        this.id = id;
        this.description = description;
        this.member = member;
        this.esfuerzosList=le;
        selected = false;
        position = 0;
    }

    public List<EsfuerzoJSON> getEsfuerzosList() {
		return esfuerzosList;
	}

	public void setEsfuerzosList(List<EsfuerzoJSON> esfuerzosList) {
		this.esfuerzosList = esfuerzosList;
	}

	public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getEsfuerzo() {
        return esfuerzo;
    }

    public void setEsfuerzo(int esfuerzo) {
        this.esfuerzo = esfuerzo;
    }

    public Date getFecini() {
        return fecini;
    }

    public void setFecini(Date fecini) {
        this.fecini = fecini;
    }

    public Date getFecfin() {
        return fecfin;
    }

    public void setFecfin(Date fecfin) {
        this.fecfin = fecfin;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
    
}
